home *** CD-ROM | disk | FTP | other *** search
- #if !defined(AFX_NCTWAVPLAYER_H__01A573C1_D19C_11D3_8F38_000021C58FC3__INCLUDED_)
- #define AFX_NCTWAVPLAYER_H__01A573C1_D19C_11D3_8F38_000021C58FC3__INCLUDED_
-
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
-
- // NOTE: Do not modify the contents of this file. If this class is regenerated by
- // Microsoft Visual C++, your modifications will be overwritten.
-
- /////////////////////////////////////////////////////////////////////////////
- // CNCTWavPlayer wrapper class
-
- class CNCTWavPlayer : public CWnd
- {
- protected:
- DECLARE_DYNCREATE(CNCTWavPlayer)
- public:
- CLSID const& GetClsid()
- {
- static CLSID const clsid
- = { 0xcdde893b, 0x1457, 0x11d3, { 0x99, 0x6a, 0x8, 0x0, 0x35, 0x0, 0x8, 0x42 } };
- return clsid;
- }
- virtual BOOL Create(LPCTSTR lpszClassName,
- LPCTSTR lpszWindowName, DWORD dwStyle,
- const RECT& rect,
- CWnd* pParentWnd, UINT nID,
- CCreateContext* pContext = NULL)
- { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
-
- BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
- const RECT& rect, CWnd* pParentWnd, UINT nID,
- CFile* pPersist = NULL, BOOL bStorage = FALSE,
- BSTR bstrLicKey = NULL)
- { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
- pPersist, bStorage, bstrLicKey); }
-
- // Attributes
- public:
- long GetWFormatTag();
- void SetWFormatTag(long);
- long GetNChannels();
- void SetNChannels(long);
- long GetNSamplesPerSec();
- void SetNSamplesPerSec(long);
- long GetNAvgBytesPerSec();
- void SetNAvgBytesPerSec(long);
- long GetNBlockAlign();
- void SetNBlockAlign(long);
- long GetWBitsPerSample();
- void SetWBitsPerSample(long);
- long GetNSamples();
- void SetNSamples(long);
- long GetStereoChannel();
- void SetStereoChannel(long);
- BOOL GetVisibleGridX();
- void SetVisibleGridX(BOOL);
- BOOL GetVisibleGridY();
- void SetVisibleGridY(BOOL);
- long GetValue();
- void SetValue(long);
- long GetStartPos();
- void SetStartPos(long);
- long GetEndPos();
- void SetEndPos(long);
- BOOL GetSelected();
- void SetSelected(BOOL);
- long GetStartShowPos();
- void SetStartShowPos(long);
- long GetEndShowPos();
- void SetEndShowPos(long);
- long GetRightScaleType();
- void SetRightScaleType(long);
- long GetBottomScaleType();
- void SetBottomScaleType(long);
- BOOL GetVisibleRightScale();
- void SetVisibleRightScale(BOOL);
- BOOL GetVisibleBottomScale();
- void SetVisibleBottomScale(BOOL);
- BOOL GetUndoEnable();
- void SetUndoEnable(BOOL);
- BOOL GetRedoEnable();
- void SetRedoEnable(BOOL);
- long GetPlayPos();
- void SetPlayPos(long);
- long GetGain();
- void SetGain(long);
- long GetVolume();
- void SetVolume(long);
- long GetVolumeBalance();
- void SetVolumeBalance(long);
- BOOL GetAutoGainControl();
- void SetAutoGainControl(BOOL);
- short GetDevInput();
- void SetDevInput(short);
- CString GetDevInputName();
- void SetDevInputName(LPCTSTR);
- short GetDevOutput();
- void SetDevOutput(short);
- CString GetDevOutputName();
- void SetDevOutputName(LPCTSTR);
- short GetDevInputMax();
- void SetDevInputMax(short);
- short GetDevOutputMax();
- void SetDevOutputMax(short);
- OLE_HANDLE GetHWnd();
- void SetHWnd(OLE_HANDLE);
- CString GetTempDirectory();
- void SetTempDirectory(LPCTSTR);
- long GetTotalAvailableFreeSpace();
- void SetTotalAvailableFreeSpace(long);
- BOOL GetClearClipboardBeforeExit();
- void SetClearClipboardBeforeExit(BOOL);
- long GetUndoRedoCount();
- void SetUndoRedoCount(long);
- unsigned long GetClrAnalogWaveform();
- void SetClrAnalogWaveform(unsigned long);
- unsigned long GetClrBackground();
- void SetClrBackground(unsigned long);
- unsigned long GetClrCenterLine();
- void SetClrCenterLine(unsigned long);
- unsigned long GetClrCursor();
- void SetClrCursor(unsigned long);
- unsigned long GetClrDigitalWaveform();
- void SetClrDigitalWaveform(unsigned long);
- unsigned long GetClrGrid();
- void SetClrGrid(unsigned long);
- unsigned long GetClrPlayCursor();
- void SetClrPlayCursor(unsigned long);
- unsigned long GetClrSelectedAnalogWaveform();
- void SetClrSelectedAnalogWaveform(unsigned long);
- unsigned long GetClrSelectedBackground();
- void SetClrSelectedBackground(unsigned long);
- unsigned long GetClrSelectedCenterLine();
- void SetClrSelectedCenterLine(unsigned long);
- unsigned long GetClrSelectedDigitalWaveform();
- void SetClrSelectedDigitalWaveform(unsigned long);
- BOOL GetFlgEndRecordBlock();
- void SetFlgEndRecordBlock(BOOL);
- BOOL GetFlgSelectedPlay();
- void SetFlgSelectedPlay(BOOL);
- CString GetFormatString();
- void SetFormatString(LPCTSTR);
-
- // Operations
- public:
- long Amplify(short Amplification);
- long ContinuePlay();
- long Full();
- long ZoomIn();
- long ZoomOut();
- long PausePlay();
- long Play();
- long Silence();
- float SamplToSec(long Pos);
- long Cut();
- long Copy();
- long Paste();
- long Stop();
- long SaveSelect(LPCTSTR fileName);
- long PasteFromFile(LPCTSTR fileName);
- long Invert();
- long Undo();
- long Redo();
- long Echo(long Delay, long Magnitude);
- long Mix(long AmplifySelect, long AmplifyPaste);
- long MixFromFile(LPCTSTR fileName, long AmplifySelect, long AmplifyPaste);
- long Normalize(long Magnitude);
- long Fade(short StartAmplify, short EndAmplify);
- long Reverse();
- long CopyToClipboard();
- long PasteFromClipboard();
- long Stretch(short Percent);
- long Close();
- long Save(LPCTSTR fileName);
- void Repaint();
- CString GetDataString();
- long PutDataString(LPCTSTR Str);
- long ConvertLikeSample(LPCTSTR fileName);
- long ConvertFromMenu();
- long InsertSilence(long ms);
- long New(long SamplesPerSec, long nChannels);
- long Record();
- long Zoom(long StartPos, long EndPos);
- long Open(LPCTSTR fileName);
- };
-
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
-
- #endif // !defined(AFX_NCTWAVPLAYER_H__01A573C1_D19C_11D3_8F38_000021C58FC3__INCLUDED_)
-